package com.ruoyi.eqmonitor.phase1.mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.eqmonitor.phase1.domain.OptDevicePhase1MonitorData;

/**
 * @author breeze
 * @date 2023-03-26
 */
public interface OptDevicePhase1MonitorDataMapper extends BaseMapper<OptDevicePhase1MonitorData>{

    public List<OptDevicePhase1MonitorData> selectOptDevicePhase1MonitorDataList(OptDevicePhase1MonitorData optDevicePhase1MonitorData);
    
    public OptDevicePhase1MonitorData selectOptDevicePhase1MonitorDataById(Long id);

	public List<Map<String, Object>> selectOptPhase1DeviceMonitorLastDataList(String deviceCode);

	public List<Map<String, Object>> selectDeviceMonitorChartAnalyse(@Param("deviceCode")String deviceCode, @Param("start")Date start,@Param("end")Date end);

}
